Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not try to render Slack Button with empty url in Signal message #4099

Merged
merged 4 commits into from
Dec 15, 2023

Conversation

wssheldon
Copy link
Contributor

No description provided.

@wssheldon wssheldon added the bug Something isn't working label Dec 8, 2023
@wssheldon wssheldon requested a review from mvilanova December 8, 2023 15:42
]
# The button URL must have at least one character.
# Otherwise, Slack will raise a Validation error.
# external_url is not a required field. If it's empty, an empty list is added,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make it required in the UI instead, so we always have a link to a response plan for all detections?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, we could take that approach. I was worried about introducing friction. For example, creating new detections as part of an incident.

I can make it a required field though if you feel strongly about it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvilanova Going to merge this for now -- let me know and I can go the required route instead.

@wssheldon wssheldon merged commit 5620fa5 into master Dec 15, 2023
8 checks passed
@wssheldon wssheldon deleted the bugfix/handle-empty-url-button branch December 15, 2023 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants